import React from 'react'
import './style.css';
// 引入路由规则组件
import Index from '../router6/Index';
import { Link, NavLink } from 'react-router-dom'
type Props = {}

export default function Father({ }: Props) {
    return (
        <>
            {/* 声明式导航 */}
            <NavLink to='/home'>首页</NavLink>
            <NavLink to='/category'>分类</NavLink>
            <NavLink to='/cart'>购物车</NavLink>
            <NavLink to='/mine'>我的</NavLink>
            <Index></Index>
        </>
    )
}